package com.jblv.frame.common.fastdfs.image;

/**
 * @author happyonion.yangtao
 * @version 1.0
 * @title CustomPicSize
 * @projectName jblv-frame
 * @packageName com.jblv.common.fastdfs.image
 * @description CustomPicSize
 * @date Create at 2020/5/7 10:59
 * @since jdk1.8
 */


public class CustomPicSize {
    private int x;
    private int y;
    private int width;
    private int height;
    private String name;

    public CustomPicSize(int x, int y, int width, int height) {
        this.width = width;
        this.height = height;
        this.x = x;
        this.y = y;
        this.setName(width + "_" + height);
    }

    public int getX() {
        return this.x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return this.y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getWidth() {
        return this.width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return this.height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
}
